package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {

    List<Customer> list(@Param("offset")Integer offset,
                       @Param("rows")Integer rows,
                        @Param("customerName")String customerName);

    int getTotal();

    void save(Customer customer);

    void updateById(Customer customer);

    void delete(String ids);

}
